<?php

/**
 * 视频直播频道
 */
Route::get('entity/asset/vlive/vepgs', ['as'=> 'entity.asset.vlive.vepgs.index', 'uses' => 'Entity\Asset\Vlive\VepgController@index']);
Route::post('entity/asset/vlive/vepgs', ['as'=> 'entity.asset.vlive.vepgs.store', 'uses' => 'Entity\Asset\Vlive\VepgController@store']);
Route::get('entity/asset/vlive/vepgs/create', ['as'=> 'entity.asset.vlive.vepgs.create', 'uses' => 'Entity\Asset\Vlive\VepgController@create']);
Route::put('entity/asset/vlive/vepgs/{vepgs}', ['as'=> 'entity.asset.vlive.vepgs.update', 'uses' => 'Entity\Asset\Vlive\VepgController@update']);
Route::patch('entity/asset/vlive/vepgs/{vepgs}', ['as'=> 'entity.asset.vlive.vepgs.update', 'uses' => 'Entity\Asset\Vlive\VepgController@update']);
Route::delete('entity/asset/vlive/vepgs/{vepgs}', ['as'=> 'entity.asset.vlive.vepgs.destroy', 'uses' => 'Entity\Asset\Vlive\VepgController@destroy']);
Route::get('entity/asset/vlive/vepgs/{vepgs}', ['as'=> 'entity.asset.vlive.vepgs.show', 'uses' => 'Entity\Asset\Vlive\VepgController@show']);
Route::get('entity/asset/vlive/vepgs/{vepgs}/edit', ['as'=> 'entity.asset.vlive.vepgs.edit', 'uses' => 'Entity\Asset\Vlive\VepgController@edit']);


/**
 * 直播添加, 编辑, 删除EPG信息
 */
// 列表
Route::get('entity/asset/vlive/vepgs/vchan/{vchan_id}', ['as'=> 'entity.asset.vlive.vepgs.vchan.index', 'uses' => 'Entity\Asset\Vlive\VepgController@vchanIndex']);
// 保存
Route::post('entity/asset/vlive/vepgs/vchan/{vchan_id}', ['as'=> 'entity.asset.vlive.vepgs.vchan.store', 'uses' => 'Entity\Asset\Vlive\VepgController@vchanStore']);
// 新增视图
Route::get('entity/asset/vlive/vepgs/vchan/{vchan_id}/create', ['as'=> 'entity.asset.vlive.vepgs.vchan.create', 'uses' => 'Entity\Asset\Vlive\VepgController@vchanCreate']);
// 更新
Route::put('entity/asset/vlive/vepgs/vchan/{vchan_id}/{vepgs}', ['as'=> 'entity.asset.vlive.vepgs.vchan.update', 'uses' => 'Entity\Asset\Vlive\VepgController@vchanUpdate']);
Route::patch('entity/asset/vlive/vepgs/vchan/{vchan_id}/{vepgs}', ['as'=> 'entity.asset.vlive.vepgs.vchan.update', 'uses' => 'Entity\Asset\Vlive\VepgController@vchanUpdate']);
// 删除
Route::delete('entity/asset/vlive/vepgs/vchan/{vchan_id}/{vepgs}', ['as'=> 'entity.asset.vlive.vepgs.vchan.destroy', 'uses' => 'Entity\Asset\Vlive\VepgController@vchanDestroy']);
// 编辑视图
Route::get('entity/asset/vlive/vepgs/vchan/{vchan_id}/{vepgs}/edit', ['as'=> 'entity.asset.vlive.vepgs.vchan.edit', 'uses' => 'Entity\Asset\Vlive\VepgController@vchanEdit']);